"""
循环结构 for-in循环
"""
for i in range(1, 101):
    print(i)

total = 0
for i in range(1, 101):
    total += i
print(total)

# 求两个数的最大公约数
x = int(input('x='))
y = int(input('y='))
for i in range(x, 0, -1):
    if x % i == 0 and y % i == 0:
        print(i)
